﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addUser.aspx.cs" Inherits="Web.backGroundManage.userManagement.addUser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>修改用户</title>
    <link rel="stylesheet" rev="stylesheet" href="../css/style.css" type="text/css" media="all" />

    <script type="text/javascript" src="../js/date.js"></script>

    <script language="JavaScript" type="text/javascript">
function tishi()
{
  var a=confirm('数据库中保存有该人员基本信息，您可以修改或保留该信息。');
  if(a!=true)return false;
  window.open("冲突页.htm","","depended=0,alwaysRaised=1,width=800,height=400,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
}

function check()
{
document.getElementById("aa").style.display="";
}

    </script>

</head>
<body>
    <form id="form1" runat="server" method="post">
    <div class="MainDiv">
        <table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
            <tr>
                <th class="tablestyle_title">
                    修改用户基本信息
                </th>
            </tr>
            <tr>
                <td class="CPanel">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td width="100%">
                                <fieldset style="height: 100%;">
                                    <legend>修改用户信息</legend>
                                    <table border="0" cellpadding="2" cellspacing="1" style="width: 100%">
                                        <tr>
                                            <td nowrap="nowrap" align="right" width="15%">
                                                <label for="nickName">
                                                    昵称</label>
                                            </td>
                                            <td width="35%">
                                                <asp:TextBox ID="director" runat="server" Width="154px"></asp:TextBox>
                                                <span class="red">*</span>
                                            </td>
                                            <td width="16%" align="right" nowrap="nowrap">
                                                <label for="password">
                                                    密码</label>
                                            </td>
                                            <td width="34%">
                                                <asp:TextBox ID="TextBox1" runat="server" Width="154px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                <label for="email">
                                                    邮箱</label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="email" runat="server" Width="154px"></asp:TextBox>
                                            </td>
                                            <td align="right">
                                                <label for="realName">
                                                    真实姓名</label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="realName" runat="server" Width="154px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                出生日期:
                                            </td>
                                            <td>
                                                <input class="text" id="birthday" runat="server" style="width: 154px" onclick="fPopCalendar(event,this,this)"
                                                    onfocus="this.select()" />
                                            </td>
                                            <td align="right">
                                                注册时间:
                                            </td>
                                            <td>
                                                <input class="text" id="registerTime" runat="server" style="width: 154px" onclick="fPopCalendar(event,this,this)"
                                                    onfocus="this.select()" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                <label for="acceptEmailOrnot">
                                                    是否接收邮件</label>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="acceptEmailOrnot" Width="70px" runat="server" AppendDataBoundItems="True">
                                                    <asp:ListItem>是</asp:ListItem>
                                                    <asp:ListItem>否</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                            <td nowrap="nowrap" align="right">
                                                <label for="acceptMessageOrnot">是否接收短信</label>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="acceptMessageOrnot" Width="70px" runat="server">
                                                    <asp:ListItem>是</asp:ListItem>
                                                    <asp:ListItem>否</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                <label for="publicEmailOrnot">是否公开邮箱</label>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="publicEmailOrnot" Width="70px" runat="server">
                                                    <asp:ListItem>是</asp:ListItem>
                                                    <asp:ListItem>否</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                            <td nowrap="nowrap" align="right">
                                                <label for="sex">性别</label>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="sex" Width="70px" runat="server">
                                                    <asp:ListItem>男</asp:ListItem>
                                                    <asp:ListItem>女</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                    </table>
                                    <br />
                                </fieldset>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" height="50px">
                    <asp:Button ID="save" runat="server" Text="保存" OnClick="link();" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="b1" runat="server" Text="返回" OnClick="window.history.go(-1);" />
                </td>
            </tr>
        </table>
        
    </div>
    </form>
</body>
</html>
